automatic tube compensation